git branch
命令手册Main git command for working with branches. More information: https://git-scm.com/docs/git-branch.
*
:git branch
git branch -a
git branch --show-current
git branch {{branch_name}}
git branch {{branch_name}} {{commit_hash}}
git branch -m {{old_branch_name}} {{new_branch_name}}
git branch -d {{branch_name}}
git push {{remote_name}} --delete {{remote_branch_name}}